package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.QuestionItem;

import java.util.List;

public interface QuestionItemService {

     List<QuestionItem> findAll() ;

    PageInfo<QuestionItem> findByPage(int currentPage, int pageSize);

    void save(QuestionItem questionItem);

    QuestionItem findById(String id);

    void update(QuestionItem questionItem);




    List<QuestionItem> findAll(String questionId);

    void delete(String id);
}
